package bean;

/**
 * Warehouse bean
 * @author Martin Schophaus
 */
public class Warehouse {
	private int id;
	private Adress adress;
	
	public Warehouse(Adress adress){
		this.setAdress(adress);
	}
	
	public Warehouse(int id, Adress adress){
		this.setId(id);
		this.setAdress(adress);
	}

	public Adress getAdress() {
		return adress;
	}

	public void setAdress(Adress adress) {
		this.adress = adress;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
